package com.xin.service;

import com.alibaba.fastjson.JSONObject;
import com.xin.entity.STeacherRoleRelation;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 角色关系表 服务类
 * </p>
 *
 * @author l1
 * @since 2017-12-05
 */
public interface STeacherRoleRelationService extends IService<STeacherRoleRelation> {

    JSONObject query(String roleId, String name, String eid, String cid, Integer pageSize, Integer pageNum);

    List<JSONObject> queryRoles(String teacherId);

    void updateRelation(String teacherId, String roleId);
}
